* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.box {
	width: 68%;
	
	margin: 0 auto;
	font-size: 12px;
}

.clearfix:after {
	display: table;
	clear: both;
	content: "";
}

.fl {
	float: left;
}

.fr {
	float: right;
}


/*顶部导航*/

.nav {
	background-image: linear-gradient(to bottom, #d02441, #d24e68);
	border-radius: 10px;
	padding-right: 20px;
	position: relative;
	margin-bottom: 20px;
}

.nav img {
	background: ;
	vertical-align: middle;
}

.nav p {
	float: right;
	background: ;
	height: 45px;
	line-height: 45px;
	color: white;
	font-size: 12px;
}

.nav a {
	font-size: 12px;
	color: white;
	margin: 0px 10px;
}

.nav a:hover {
	text-decoration: underline;
}

.nav p a:first-of-type {
	display: inline-block;
	height: 36px;
	line-height: 36px;
	background: white;
	border-radius: 4px 4px 0 0px;
	color: red;
	font-weight: 600;
	position: absolute;
	left: 250px;
	top: 9px;
	padding: 0px 30px;
}


/*顶部导航end*/


/*导航2*/

.nav2 .list {
	border: 1px #d3d3d3 solid;
	border-radius: 8px;
	float: left;
	margin-right: 10px;
}

.nav2 li {
	list-style: none;
	background: url(../img/游戏列表灰色渐变.jpg) no-repeat;
	padding-left: 10px;
	padding-top: 10px;
	width: 180px;
	position: relative;
}

.nav2 li:first-of-type {
	border-radius: 6px 6px 0 0;
}

.nav2 li:last-of-type {
	border-radius: 0px 0px 6px 6px;
}

.nav2 img {
	vertical-align: text-top;
	position: relative;
	top: -1px;
}

.list a {
	margin-left: 10px;
	color: black;
}

.nav2 li:hover {
	background: url(../img/游戏列表鼠标移入的渐变.jpg) no-repeat;
}


/*导航2end*/


/*banner*/

.banner {
	position: relative;
	margin-right: 10px;
}

.banner img {
	width: 560px;
	border-radius: 6px;
	vertical-align: middle;
}

.nav2 .banner li {
	list-style: none;
	display: inline-block;
	background: white;
	width: 16px;
	height: 16px;
	line-height: 10px;
	border-radius: 50%;
	margin-left: 8px;
}

.banner li:first-of-type {
	background: #b61c16;
	color: white;
}

.banner div {
	position: absolute;
	bottom: 10px;
	right: 30px;
}


/*banner end*/


/*登陆*/

.login {
	background: #fafafa;
	border: 1px #d3d3d3 solid;
	border-radius: 6px;
	margin-left: 0px;
	padding: 20px 30px 20px 20px;
}

.login h4 {
	margin-bottom: 30px;
}

.login p {
	margin-bottom: 14px;
}

.login h4 {
	color: #666;
}

::placeholder {
	font-size: 10px;
	text-indent: 1em;
}

.login p:nth-of-type(3) {
	text-align: center;
}

.login p:nth-of-type(4) {
	background: ;
	text-align: center;
	margin-bottom: 0;
}

.login p:nth-of-type(4) a {
	margin: 15px;
	color: steelblue;
}

.login p:nth-of-type(4) a:hover {
	color: red;
}


/*登陆end*/


/*全部游戏*/

.row3 {
	margin-top: 20px;
	}

.row3 .game_kind h4 {
	background: url(../img/titleBg.jpg);
	padding: 5px;
	color: #666666;
	border-bottom: 1px gainsboro solid;
	border-radius: 6px 6px 0 0;
}

.row3 .game_kind h4 a {
	color: #666666;
	margin: 0 5px;
}

.row3 .game_kind h4 a:first-of-type {
	color: darkred;
	margin-right: 20px;
}

.row3 .game_kind {
	border: 1px #d3d3d3 solid;
	border-radius: 6px;
}

.row3 .game_kind .game {
	border: 1px #d3d3d3 solid;
	border-radius: 10px;
	margin: 20px 30px 20px 0;
	padding: 20px 10px;
}

.row3 .game_kind .game:first-of-type {
	border: 1px #d3d3d3 solid;
	border-radius: 6px;
	margin: 20px 10px 0px 30px;
}

.row3 .txt {
	margin-left: 10px;
	color: #333333
}

.row3 .game .txt h5,
p {
	margin-bottom: 10px;
}
.txt p:nth-of-type(3){
	margin-top: 20px;
}

.row3 .game .txt span {
	color: darkred;
}

.row3 .game .txt a {
	border: 1px solid #d3d3d3;
	padding: 6px;
	border-radius: 6px;
	color: #666;
}

.row3 .game .txt a:last-of-type {
	background-image: linear-gradient(to bottom, #b7d4dc, #386d9c);
	border: 1px solid dodgerblue;
	margin-left: 10px;
	color: white;
}

.row3 .game .txt a:hover {
	color: darkred;
}

.row3 .game .txt a:last-of-type:hover {
	background-image: linear-gradient(to bottom, #d2556f, #d02a47);
}

.game img:hover {
	transform: translate(-10px);
	transition: all 0.3s ease-out;
}


/*全部游戏end*/


/*news*/

.row3 .news h4 {
	background: url(../img/titleBg.jpg);
	padding: 5px 10px;
	color: #666666;
	border-bottom: 1px gainsboro solid;
	border-radius: 6px 6px 0 0;
}

.row3 .news {

	border: 1px #d3d3d3 solid;
	border-radius: 6px;
}

.row3 .news div {
	padding: 0px 10px;
}
.row3 .news h4 a{
	color: darkred;
}
.row3 .news li {
	list-style: none;
	padding: 6px 30px;
	border-bottom: 1px dashed darkgray;
	background: url(../img/rightTwo.png) no-repeat 0px 12px;
		}

.row3 .news li a {
	color: #666;
	vertical-align: middle;
	
}
.news div li a:hover{
	display: block;
	transform:scale(1.2) translateY(6px);
	transition: all 0.3s ease-out;
}

/*news结束*/

/*games*/
.row4 li{
	list-style: none;
	display: inline-block;
	margin-top: 20px;
}
.row4 .cosplay{
	border: 1px #d3d3d3 solid;
	border-radius: 6px;
	color: #222;
	margin-top: 20px;
}
.row4 .cosplay h4{
	background: url(../img/titleBg.jpg);
	padding: 5px 10px;
	
	border-bottom: 1px gainsboro solid;
	border-radius: 6px 6px 0 0;
}
.row4 .cosplay h4 a{
	color: darkred;
}
.row4 .games{
	
	margin:20px 20px 20px 20px;
	color: #222;
}
.row4 .games p:last-of-type{
	margin-top: 10px;
}
.row4 .games li{
	margin-left: 50px;

}
.row4 span {
	color: darkred;}
.row4 .games a{
	border: 1px solid #d3d3d3;
	padding: 6px;
	border-radius: 6px;
	color: #666;
}
.row4 .games a:hover{
		color:darkred
}
.row4 .games a:last-of-type{
	background-image: linear-gradient(to bottom, #b7d4dc, #386d9c);
	border: 1px solid dodgerblue;
	margin-left: 10px;
	color: white;
}
.row4 .games a:last-of-type:hover{
	background-image: linear-gradient(to bottom, #d2556f, #d02a47);
}
.row4 img:hover{
	transform: translate(-10px);
	transition: all 0.3s ease-out;
}
/*games结束*/
/*联系*/
.cosplay_right{
	background:;
	margin-top: 20px;
	width: 24%;
	}
.ad img{
	width: 100%;
	margin-bottom: 20px;
	
}
.video{
	background:;
	margin-top: 0px;
	border: 1px #d3d3d3 solid;
	border-radius: 6px;
	color: #222;
	
	float: right;
	}
.video h4{
	background: url(../img/titleBg.jpg);
	padding: 5px 10px;
	color: #666666;
	border-bottom: 1px gainsboro solid;
	border-radius: 6px 6px 0 0;
	margin-bottom: 10px;
}
.video h4 a{
	color: darkred;
}
.video1{
	margin-top: 10px;
}

.video1 img{
	float: left;
	vertical-align: middle;
	margin-bottom: 26px;
}
.video1 p{
	float:left;
	margin-left: 5px;
	color: dodgerblue;
}
/*联系end*/
/*bottom*/
.bottom{
	
	margin-top:30px;
	margin-bottom: 10px;
}
.bottom h4{
	background:;
	float: left;
	border-bottom: 1px solid gainsboro;

}
.bottom a{
	color: dodgerblue;
	
	margin-right: 20px;
}
.bottom a:hover{
	color: darkred;
}
.bottom p{
	color: #666;
	float: right;
}

.ad2{
	background: red;
	
	bottom:120px;
	right:-80px;
}
.ad2 img{
	width:15%;
	position: absolute;
	top:150px;
	right:10px;
	animation: adfly 4s linear;
	
}
@keyframes adfly{
	0%{transform: translate(0);}
	50%{transform: translate(-700px,500px);}
	
	100%{transform: translate(0);}
}

